package JavaDowork.pratice5;

public class Q10 {
    public static void main(String[] args) {
        int S = 0;
        int i = 1;
        while (true){
            S += + i*i;
            i += 1;
            if (i > 4) {
                System.out.println(S);
                break;
            }
        }
    }
}
